<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head.jsp"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

<title>登录页面</title>

<style type="text/css">
<!--
修改struts标签默认的样式： 不让换行-->ul {
	display: inline;
}

ul li {
	display: inline;
	color: red;
}
</style>
</head>


<body>
	<h2>登录</h2>
	${basePath}
	<span>中英文切换</span>
	<a href=""></a>
	<a href="${basePath }/local_language?request_locale=zh_CN">中文</a>
	<b>|</b>
	<a href="${basePath }/local_language?request_locale=en_US">English</a>
	<hr>
	<form action="${basePath}/login">

		
		<s:textfield name="username" key="username"></s:textfield>
		<s:fielderror fieldName="username"></s:fielderror>
		<br> 
		<s:password name="password" key="password"></s:password>
		<s:fielderror fieldName="password"></s:fielderror>
		<br> <br> <input type="submit" value="登录">
	</form>
</body>
</html>
